Environment Setup:

Pytorch:  1.11.0 
torchvision: 0.6.0 
timm: 0.4.12 
scipy: 1.4.1 
scikit-learn:  0.22.1





Download OOD datasets which are publically availble:

Textures
LSUN-C
LSUN-R
iSUN
SUN
Places
Places365
iNaturalist
OpenImage-O





To run the code:

python train.py -d 'ID_dataset_name' -g 'gpu-num' -n 'backbone_name' -s 'save_name'

python eval.py -d 'ID_dataset_name' -g 'gpu_num' -n 'backbone_name'  -s 'save_name' -m CCFN
